﻿using Microsoft.AspNetCore.Mvc.ApplicationModels;

namespace LJ.WebApi.Mvc.Internal;


public sealed class WebApiApplicationModelConvention(IWebApiServiceConvention webApiServiceConvention) : IApplicationModelConvention
{
    private readonly IWebApiServiceConvention _webApiServiceConvention = webApiServiceConvention;

    public void Apply(ApplicationModel application)
    {
        _webApiServiceConvention.Apply(application);
    }
}